package Odhgos_Polhs;


import java.util.Date;

public class Reservation {
    
    //Attributes
    private int ID;
    private String state;
    private Date date;
    private Boolean confirmed;
            
    private Restaurant restaurant;  //Υλοποίηση σχέσης με Restaurant
    private RegUser regUser;   //Υλοποίηση σχέσης με RegUser
    
    //Constructor
    public Reservation(int ID, String state, Date date, Boolean confirmed, Restaurant restaurant, RegUser regUser) {
        this.ID = ID;
        this.state = state;
        this.date = date;
        this.confirmed = confirmed;
        this.restaurant = restaurant;
        this.regUser = regUser;
    }
    
/*    public Reservation(int ID, String state, Date date, Boolean confirmed, Restaurant restaurant, RegUser regUser) {
        this.ID = ID;
        this.state = state;
        this.date = date;
        this.confirmed = confirmed;
        this.restaurant = restaurant;
        this.regUser = regUser;
    }
*/
    //All Setters & Getters

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public Boolean getConfirmed() {
        return confirmed;
    }

    public void setConfirmed(Boolean confirmed) {
        this.confirmed = confirmed;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public RegUser getRegUser() {
        return regUser;
    }

    public void setRegUser(RegUser regUser) {
        this.regUser = regUser;
    }

    public Restaurant getRestaurant() {
        return restaurant;
    }

    public void setRestaurant(Restaurant restaurant) {
        this.restaurant = restaurant;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
    

}
